
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Models.Entity
{
    /// <summary>
    /// 课时取消
    /// </summary>
    [Table(@"c_week_course_cancel a
            left join c_week_course b on a.week_course_id=b.week_course_id
            left join c_teacher_course c on b.teacher_course_id=c.teacher_course_id
    ")]
    public class CWeekCourseCancelEntityView : BaseModel
    {

        /// <summary>
        /// id
        /// </summary>
        [Column("a.id")]
        public int id { get; set; }
        /// <summary>
        /// week_course_id
        /// </summary>
        [Column("a.week_course_id")]
        public int week_course_id { get; set; }
        /// <summary>
        /// 取消日期
        /// </summary>
        [Column("a.cancel_date")]
        public Int64 cancel_date { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        [Column("a.create_time")]
        public Int64 create_time { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [Column("a.remark")]
        public string remark { get; set; }

        /// <summary>
        /// teacher_id
        /// </summary>
        [Column("c.teacher_id")]
        public int teacher_id { get; set; }

        /// <summary>
        /// course_id
        /// </summary>
        [Column("c.course_id")]
        public int course_id { get; set; }

    }
}
